package pers.sms.dao;

import org.apache.ibatis.annotations.Mapper;
import pers.sms.bean.ClockingInRecord;import java.util.List;

/**
 * @Author ：liaochuangang
 * @Date ：2022/4/28 10:19
 * @History ：
 * @return ：$return
 */
@Mapper
public interface ClockingInRecordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ClockingInRecord record);

    int insertSelective(ClockingInRecord record);

    ClockingInRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ClockingInRecord record);

    int updateByPrimaryKey(ClockingInRecord record);

    /**
     * 查询全部考勤记录
     *
     * @return
     */
    List<ClockingInRecord> selectList();

    List<ClockingInRecord> getStudentClockingIn(ClockingInRecord clockingInRecord);

    /**
     * 删除考勤记录
     * @param ids
     * @return
     */
    int deleteById(Long[] ids);
}